@import url("https://fonts.googleapis.com/css?family=Cute+Font&display=swap");

html,
body {
  margin: 0;
}

#app {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

body {
  color: #333;
  font-family: "Cute Font", cursive;
  background: #dedfdf;
  overflow: hidden;
}

.clipBtn {
  width: 42vw;
  height: 8vw;
  background: #fbd56f;
  -webkit-box-shadow: 0 0.533vw 1.6vw -0.533vw #b59336;
  box-shadow: 0 0.533vw 1.6vw -0.533vw #b59336;
  border-radius: 3.2vw;
  position: absolute;
  font-size: 3.733vw;
  font-weight: 400;
  color: #90783a;
  bottom: 12vw;
  z-index: 9999;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  animation-name: heartAni;
  animation-duration: 2s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  border: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

*:before,
*:after {
  content: "";
  position: absolute;
}

.container {
  /* margin: auto; */
  width: 100vw;
  height: 100vh;
}

.album {
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transition: 1s;
  transition: 1s;
  width: 100vw;
  height: 100vh;
  position: relative;
}

.album--open {
  -webkit-transform: translate(0px, 0) rotateX(30deg) rotateY(0deg) rotateZ(0deg) scale(1);
  transform: translate(0px, 0) rotateX(30deg) rotateY(0deg) rotateZ(0deg) scale(1);
}

.album__paper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transition: 1s;
  transition: 1s;
  -webkit-transform-origin: 0 50%;
  transform-origin: 0 50%;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.album__paper:not(.first) .album__page {
  background: #f1f0f0;
  background-size: 100% 1.5em;
}

.album__paper:not(.first) .back {
  background: #d4d3d3;
}

.album__paper:nth-of-type(1) .back {
  background: #0095a3;
}

.album__paper:nth-of-type(1) .album__page {
  /* background: #0095a3; */
  /* background: linear-gradient(139deg, #fec84e, #feaf40); */
  background: #0095a3;
}

.album__paper.open {
  box-shadow: 0 1em 0 0 #aaa;
  -webkit-transform: rotateX(0) rotateY(-180deg) rotateZ(0);
  transform: rotateX(0) rotateY(-180deg) rotateZ(0);
}

.album__paper .album__page.front {
  transition: 1s;
  -webkit-transition: 1s;
  transform-origin: 0 50%;
  -webkit-transform-origin: 0 50%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  z-index: 2;
}

.album__paper .back {
  transition: 1s;
  -webkit-transition: 1s;
  transform-origin: 0 50%;
  -webkit-transform-origin: 0 50%;
  background: #e1e1e1;
}

.album__top-title {
  font-size: 63px;
  line-height: 0.8;
  text-align: center;
  padding-top: 57px;
  color: #fff;
}

.album__page {
  width: 100%;
  height: 100%;
  position: absolute;
  -webkit-transform: translateZ(0px);
  transform: translateZ(0px);
}

.album__back {
  width: 3em;
  height: 700px;
  background: #007e8a;
  position: absolute;
  left: -3em;
  top: 0;
  transform-origin: 100% 100%;
  -webkit-transform-origin: 100% 100%;
  transform: rotateY(-90deg) rotateX(0deg);
  -webkit-transform: rotateY(-90deg) rotateX(0deg);
}

.album__shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 600px;
  height: 700px;
  background: transparent;
  transform: translateZ(-3em);
  -webkit-transform: translateZ(-3em);
  box-shadow: 1em 1em 0px 0px #aaa;
  z-index: 1;
}

.album__bottom {
  width: 600px;
  height: 3em;
  background: #d4d3d3;
  position: absolute;
  bottom: 0;
  left: 0;
  transform-origin: 100% 100%;
  -webkit-transform-origin: 100% 100%;
  transform: rotateX(90deg);
  -webkit-transform: rotateX(90deg);
}

.cat-mark {
  position: relative;
  width: 200px;
  height: 170px;
  background: #feaf40;
  border-radius: 60% 60% 90px 90px;
  margin: 150px auto auto;
}

.cat-mark:before,
.cat-mark:after {
  top: -25px;
  width: 0;
  height: 0;
  border-bottom: 80px solid #feaf40;
  border-right: 50px solid transparent;
  border-left: 50px solid transparent;
  border-radius: 33px;
}

.cat-mark:before {
  right: -20px;
  transform: rotate(32deg);
  -webkit-transform: rotate(32deg);
}

.cat-mark:after {
  left: -20px;
  transform: rotate(-32deg);
  -webkit-transform: rotate(-32deg);
}

.top-content {
  height: 100%;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-flow: column;
}

.content {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  height: 100%;
}

.content__title {
  box-sizing: border-box;
  height: 10%;
  display: flex;
  align-items: center;
  padding-left: 20px;
  font-size: 58px;
}

.content__img1 {
  box-sizing: border-box;
  height: 90%;
  position: relative;
  padding: 0 20px;
}

.content__img1 .ctImg {
  height: 90%;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  border: 10px solid #fff;
}
.content__img1 img {
  margin: auto;
  width: 100%;
  border: 10px solid #fff;
  box-sizing: border-box;
  height: 90%;
}

.content__img2 {
  grid-row: 3 / 4;
  grid-column: 2 / 4;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  box-sizing: border-box;
}

.content__img2 img {
  margin: auto;
  width: 80%;
  border: 10px solid #fff;
  box-sizing: border-box;
}

.content__img3 {
  grid-row: 2;
  grid-column: 2;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  box-sizing: border-box;
}

.content__img3 img {
  margin: auto;
  width: 60%;
  border: 10px solid #fff;
  box-sizing: border-box;
}

.content__text {
  width: 100%;
  font-size: 30px;
  box-sizing: border-box;
  position: absolute;
  bottom: 0;
  padding-bottom: 20px;
}

.music {
  width: 30px;
  height: 30px;
  background-size: 100% 100%;
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 1;
}

.music.off {
  background-image: url('../img/musicIcon.png');
}

.music.on {
  animation-name: rotateAni;
  animation-duration: 2s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  background-image: url(../img/musicIconActive.png);
}

.bgAudio {
  display: none;
}

@media screen and (max-width: 768px) {
  body {
    overflow: visible;
  }
}

@keyframes rotateAni {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(-180deg);
  }

  100% {
    transform: rotate(-360deg);
  }
}

@keyframes heartAni {
  0% {
    transform: translateX(-50%) scale(1);
  }

  50% {
    transform: translateX(-50%) scale(1.2);
  }

  100% {
    transform: translateX(-50%) scale(1);
  }
}